﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DAL;
using System.Data;

namespace BLL
{
    public class BCustomer
    {
        public void InsertCustomer(string sBranch, string sFullName, int sNRIC, string sDateBirth, int sGender, int sCity, int sEducation, string sOtherEdu)
        {
            new DCustomer().InsertCustomer(sBranch,sFullName,sNRIC,sDateBirth,sGender,sCity,sEducation,sOtherEdu);
        }

        public DataSet GetCustomer(int iPageNo, int iPageSize, out int iTotalRows)
        {
            return new DCustomer().GetCustomer(iPageNo,iPageSize, out iTotalRows);
        }

        public bool checkNRIC(int iNRIC)
        {
            return new DCustomer().checkNRIC(iNRIC);
        }
    }
}
